package com.xzx.shop_front_api.entity.vo;

import lombok.Data;
import org.springframework.stereotype.Component;

@Component
@Data
public class MyCouponVo {
    private Long id;
    private Long coupon_id;
    private String title;
    private int value;
    private int status;
    private String start_time;
    private String end_time;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getCoupon_id() {
        return coupon_id;
    }

    public void setCoupon_id(Long coupon_id) {
        this.coupon_id = coupon_id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public int getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getStart_time() {
        return start_time;
    }

    public void setStart_time(String start_time) {
        this.start_time = start_time;
    }

    public String getEnd_time() {
        return end_time;
    }

    public void setEnd_time(String end_time) {
        this.end_time = end_time;
    }

    @Override
    public String toString() {
        return "MyCouponVo{" +
                "id=" + id +
                ", coupon_id=" + coupon_id +
                ", title='" + title + '\'' +
                ", value=" + value +
                ", status=" + status +
                ", start_time='" + start_time + '\'' +
                ", end_time='" + end_time + '\'' +
                '}';
    }
}
